package user

import (
	"github.com/spf13/cobra"
	"log"
)

type AdminUser struct {
}

func (r *AdminUser) Register(cmd *cobra.Command) {
	cmd.AddCommand(&cobra.Command{
		Use:   "admin.user.info",
		Short: "get user info",
		Long:  `get user information.`,
		Run:   r.Info,
	})
}

func (a *AdminUser) Info(cmd *cobra.Command, args []string) {
	log.Println("cmd admin.info success, args:", args)
}
